package org.jeecg.modules.demo.weixin.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 渠道手续费
 * @Author: jeecg-boot
 * @Date: 2023-12-23
 * @Version: V1.0
 */
@Data
@TableName("smt_split_rule_fee")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "smt_split_rule_fee对象", description = "渠道手续费")
public class SmtSplitRuleFee implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Integer id;
    /**
     * 门店id
     */
    @Excel(name = "门店id", width = 15)
    @ApiModelProperty(value = "门店id")
    private String merchantId;
    /**
     * 门店名称
     */
    @Excel(name = "门店名称", width = 15)
    @ApiModelProperty(value = "门店名称")
    private String merName;
    /**
     * 类型0微信1支付宝2现金3余额
     */
    @Excel(name = "类型0微信1支付宝2现金3余额", width = 15)
    @ApiModelProperty(value = "类型0微信1支付宝2现金3余额")
    private String splitType;
    /**
     * 基础手续费
     */
    @Excel(name = "基础手续费", width = 15)
    @ApiModelProperty(value = "基础手续费")
    private BigDecimal fee;
    /**
     * 基础手续费
     */
    @Excel(name = "基础手续费", width = 15)
    @ApiModelProperty(value = "基础手续费")
    private BigDecimal basicFee;
    /**
     * 附加手续费
     */
    @Excel(name = "附加手续费", width = 15)
    @ApiModelProperty(value = "附加手续费")
    private BigDecimal addFee;
    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 修改时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    //-----------------前端字段-----------------------------
    private String channelType;
    //------------------------------------------------
}
